package com.ropeok.mapper;


import com.ropeok.entity.permissions;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.security.Permissions;
import java.sql.SQLException;
import java.util.List;


@Mapper
@Repository
public interface PermissionMapper {

     List<permissions> FindAll();

     void Save(permissions per);

     List<Integer> FindPermissionId();

     void DelPermissions(int id);

     List<permissions> findByRoleId(Integer id);

}
